#pragma once

#include "IControlBar.h"

interface IMenu;
enum kTargetFrame;

interface IMenuBar : public IControlBar
{
	DEFINE_IID(IID_MenuBar)

	virtual IMenu* Add(const String& insertpath) = 0;
	virtual IMenu* AddPopup(const String& insertpath) = 0;

	/*!for inner usage*/
	virtual uint32 SelectMenus(kTargetFrame frame,ControlList& controls) const = 0;
};

